//
//  AMNetworkTool.m
//  AeroMapSDK
//
//  Created by 朱国良 on 2017/9/14.
//  Copyright © 2017年 北京国泰北斗科技有限公司. All rights reserved.
//

#import "AMNetworkTool.h"

@implementation AMNetworkTool

+ (instancetype)shareIntance{
    static AMNetworkTool *_manager;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _manager = [AMNetworkTool manager];
        _manager.responseSerializer = [AFHTTPResponseSerializer serializer];
        _manager.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"image/png",@"image/jpeg", nil];
    });
    return _manager;
}
@end
